<html>
<head>
<script type="text/javascript" src="loadxmldoc.js"> 
</script>
</head>
<body>

<script type="text/javascript">
xmlDoc=loadXMLDoc("books.xml");

x=xmlDoc.getElementsByTagName("title");
txt=x[2].childNodes[0].nodeValue;
document.write(txt);
</script>
</body>
</html>

